<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------



//在线问诊接口
Route::group('api',[
    //首页
    'doctor/list'=>['index/Index/doclist',['method' => 'get']],
    //医生详情数据
    'doctor/detail'=>['index/Index/doctor',['method' => 'get']],

    //提交问诊信息
    'question/ask'=>['index/Index/ask',['method' => 'post']],
    //问题详情
    'question/detail/:id'=>['index/Index/detail',['method' => 'get']],
    //提问完成评分
    'question/setscore'=>['index/Index/setscore',['method' => 'post']],
    //上传问诊图片信息
    'question/uploadfiles'=>['index/Index/uploadfiles',['method' => 'post']],

    //下单付费
    'trade/onetoone'=>['index/Trade/onetoone',['method' => 'post']],
    //支付回调
    'trade/onetoonenotify'=>['index/Index/onetoonenotify',['method' => 'post|get|put']],


    //我的提问
    'user/mypayissue'=>['index/Index/mypayissue',['method' => 'get']],
    //注册.登录
    'user/login'=>['index/Index/login',['method' => 'post']],


]);

return [

];
